package com.ceprei.gui.shiro.jwt;

import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhou minghao
 * @date 2024/11/28
 * @description
 */
@Component
@Data
@ConfigurationProperties(prefix = "jwt")
@Accessors(chain = true)
public class JwtProperties {

/**
 * 请求头
 */
    private String header;


    /**
     * 密钥
     */
    private String secret;


    /**
     * 有效时间
     */
    private Long expiration;


    /**
     * token头
     */
    private String tokenHead;


    /**
     * 允许刷新时间
     */
    private int allowRefreshTime;
}
